package org.fuys.etp.core.model.res;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.fuys.etp.core.model.vo.TpConfigVO;
import org.fuys.etp.core.model.vo.TpRegulationStrategyVO;
import org.fuys.etp.core.model.vo.TpStatusVO;

/**
 * @projectName: fuys-etp
 * @package: org.fuys.etp.core.model.res
 * @className: TpStatusResult
 * @author: WangJing
 * @description: 线程池状态结果 用于监控和上报
 * @date: 2025/2/5 11:44
 * @version: 1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TpStatusResult {
    //线程池类型 动态调整 阶段调整 或是普通线程池
    private String poolType;
    //线程池名称 唯一
    private String poolName;
    //是否被人工接管
    private Boolean takeover;
    //当前线程池策略
    private TpRegulationStrategyVO strategyVO;
    //当前线程池配置
    private TpConfigVO configVO;
    //记录时线程池状态
    private TpStatusVO tpStatusVO;
    //线程池约束配置
    private TpConfigVO limitConfigVO;
}
